<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
    <!-- 当前位置 -->
    <div id="urHere">管理中心<b>></b><strong>图片管理</strong> </div>
    <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">


            <div id="list">
               <h3>图片信息</h3> <br/>
                <div class="content" style="padding-left: 100px;">
                    <h4>全部推荐上传1665px * 515px</h4><br>
                    <form action="{:U('Tupian/shangchuan')}" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="id" value="{$res.w_id}">
                            关于我们大图: <img src="{$gywmtp}" alt="" style="width: 300px;"> <input type="file" name="gywmtp" value=""><br/><br/>
                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <input name="submit" class="btn" type="submit" value="提交" />
                                </div>
                            </div>
                    </form>
                    <form action="{:U('Tupian/shangchuan1')}" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="id" value="{$res.w_id}">
                        产品中心大图: <img src="{$cpzxtp}" alt="" style="width: 300px;"> <input type="file" name="cpzxtp" value=""><br/><br/>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input name="submit" class="btn" type="submit" value="提交" />
                            </div>
                        </div>
                    </form>
                    <form action="{:U('Tupian/shangchuan2')}" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="id" value="{$res.w_id}">
                        内部应用大图: <img src="{$nbyytp}" alt="" style="width: 300px;"> <input type="file" name="nbyytp" value=""><br/><br/>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input name="submit" class="btn" type="submit" value="提交" />
                            </div>
                        </div>
                    </form>
                    <form action="{:U('Tupian/shangchuan3')}" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="id" value="{$res.w_id}">
                        新闻中心大图: <img src="{$xwzxtp}" alt="" style="width: 300px;"> <input type="file" name="xwzxtp" value=""><br/><br/>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input name="submit" class="btn" type="submit" value="提交" />
                            </div>
                        </div>
                    </form>
                    <form action="{:U('Tupian/shangchuan4')}" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="id" value="{$res.w_id}">
                        招贤纳士大图: <img src="{$zxnstp}" alt="" style="width: 300px;"> <input type="file" name="zxnstp" value=""><br/><br/>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input name="submit" class="btn" type="submit" value="提交" />
                            </div>
                        </div>
                    </form>
                    <form action="{:U('Tupian/shangchuan5')}" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="id" value="{$res.w_id}">
                        联系我们大图: <img src="{$lxwmtp}" alt="" style="width: 300px;"> <input type="file" name="lxwmtp" value=""><br/><br/>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input name="submit" class="btn" type="submit" value="提交" />
                            </div>
                        </div>
                    </form>
                </div>
            </div>

    </div>
</div>
<div class="clear"></div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
<script type="text/javascript">

    onload = function()
    {
        document.forms['action'].reset();
    }

    function douAction()
    {
        var frm = document.forms['action'];
        frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
    }




    //实名认证
    function authentication(id){
        layer.open({
            type: 2,
            title: '实名认证',
            maxmin: true,
            shadeClose: true,
            area : ['800px' , '850px'],
            content: '{:U("Member/authentication")}?member_id='+id
        });
    }





    //添加地址
    function addaddress(id){
        layer.open({
            type: 2,
            title: '添加地址',
            maxmin: true,
            shadeClose: true,
            area : ['800px' , '850px'],
            content: '{:U("Member/addaddress")}?member_id='+id
        });
    }




    function shanchu(id) {
        var url = "{:U('Member/delete')}";
        var msg = "您确定要删除吗？";
        if (confirm(msg)==true){
            $.post(url, {'member_id': id}, function (data) {
                layer.msg(data.info);
                if (data.status == 1) {
                    setTimeout(function () {
                        window.location.reload();
                    }, 2000);
                }
            });
        }
    }

    //注册审核通过
    function audit_y(id) {
        var url = "{:U('Member/audit_y')}";
        $.post(url, {id: id}, function (data) {
            layer.msg(data.info);
            if (data.status == 1) {
                setTimeout(function () {
                    window.location.reload();
                }, 2000);
            }
        })
    }
    function shanchu(id){
        var url="{:U('Member/delete')}";
        var msg = "您确定要删除吗？";
        if (confirm(msg)==true) {
            $.post(url, {'member_id': id}, function (data) {
                layer.msg(data.info);
                if (data.status == 1) {
                    setTimeout(function () {
                        window.location.reload();
                    }, 2000);
                }
            });
        }
    }

    //查看代理申请信息
    function getDistributInfo(user_id){
        layer.open({
            type: 2,
            title: '代理申请信息',
            maxmin: true,
            shadeClose: true,
            area : ['800px' , '850px'],
            content: '{:U("Member/getDistributInfo")}?user_id='+user_id
        });
    }


</script>
</body>
</html>
